package com.tjmc.company.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.tjmc.company.api.enums.NoticeWayEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 企业通知提醒方式表
 *
 * @author recruit
 * @date 2024-11-18 15:35:24
 */
@Data
@TableName("company_notice_way")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "企业通知提醒方式表")
public class CompanyNoticeWayEntity extends Model<CompanyNoticeWayEntity> {

 
	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Integer id;

	/**
	* 企业ID
	*/
    @Schema(description="企业ID")
    private Long companyId;

	/**
	* 提醒方式：短信、邮件、站内
	*/
    @Schema(description="提醒方式：短信、邮件、站内")
    private NoticeWayEnum noticeType;

	/**
	* 提醒发送目标：手机号、邮箱等
	*/
    @Schema(description="提醒发送目标：手机号、邮箱等")
    private String noticeValue;
}
